<?php

	#doc
	#	classname:	event_tag
	#	scope:		PUBLIC
	#
	#/doc
	
	class event_tag extends CActiveRecord
	{
		#	internal variables

		#	Constructor
		public static function model($className=__CLASS__)
		{
			return parent::model($className);
		}

		public function tableName()
		{
			return 'event_tag';
		}
		
		public function relations()
		{
			return array(
			'event'=>array(self::BELONGS_TO, 'events', 'id_event'),

			);
		}
		
	
	
	}
	###

?>